package com.aurifa.struts2.plugin.image.component;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts2.components.Component;
import org.apache.struts2.views.freemarker.tags.TagModel;

import com.opensymphony.xwork2.util.ValueStack;

/**
 * <code>ImageModel</code>
 * 
 * @author Philip Luppens
 */
public class ImageModel extends TagModel {

	public ImageModel(ValueStack stack, HttpServletRequest req,
			HttpServletResponse res) {
		super(stack, req, res);
	}

	protected Component getBean() {
		return new Image(stack, req, res);
	}
}
